﻿namespace TanzimSaqib.NoBrainer
{
    using System.Collections.Generic;

    public class ModelBase
    {
        public bool IsValid { get; set; }
        public string ErrorMessage { get; set; }
        public Dictionary<string, string> ErrorMessages { get; set; }
        public Dictionary<string, bool> CmsErrorMessages { get; set; }

        public ModelBase()
        {
            IsValid = false;
            ErrorMessages = new Dictionary<string, string>();
            CmsErrorMessages = new Dictionary<string, bool>();
        }
    }
}
